#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

int main(void) 
{
    char* buff_1 = "start:3\r\n";
    int buff1;
    char* buff_2 = "start:15\r\n";
    int buff2;
    char buff_3[1];
    int buff3;

    printf("buff_1[6]==%d\n", (int)buff_1[6]);//x
    printf("buff_2[6]==%d\n", (int)buff_2[6]);//x

    buff_3[0] = buff_1[6];
    buff3 = atoi(buff_3);
    printf("buff3==%d\n", buff3);//√

    //buff1 = atoi(buff_1[6]);//extern int atoi (const char *__nptr)
    //buff2 = atoi(buff_2[6]);//extern int atoi (const char *__nptr)
    buff_3[0] = buff_1[6];
    buff_3[0] = buff_2[6];
    buff1 = atoi(buff_3);
    buff2 = atoi(buff_3);
    printf("buff1==%d\n", buff1);//√
    printf("buff2==%d\n", buff2);//√

    printf("Hello World\n");
    return 0;
}
